class Singleton:
    __single = None
    def __init__(self):
        if Singleton.__single:
            raise Singleton.__single
        Singleton.__single = self

def Handle(x=Singleton, *args, **kwargs):
    """Use this if you need to instantiate or otherwise handle a Singleton"""
    try:
        single = x(*args, **kwargs)
    except Singleton, s:
        single = s
    return single